#include <stdio.h>
#include <math.h>

int main() {
    float a = 0, b = 0, c = 0, q = 0;

    float cir = 0, area1 = 0, area = 0;

    scanf("%f %f %f", &a, &b, &c);
    cir = a + b + c;
    q = cir / 2;
    area1 = q*(q - a) * (q - b) * (q - c);
    area = sqrt(area1);

    printf("circumference=%.2f area=%.2f", cir, area);

    return 0;
}